Skip to content

Attempt to use phpunit 10 compatible event system #129

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 12, 2025

Conversation

convenient
Copy link
Contributor

@convenient convenient commented May 9, 2025

Details of what I have encountered can be seen here magento/magento2#39907

But in short, annotations are not working in 2.4.8 because of the changes to the phpunit event subscription system.

/**
 * @magentoAdminConfigFixture some/config/value 1
 */

After speaking with @michielgerritsen he suggests its because we're using an old phpunit.xml, and basing off a fresh M2 installation could be the way to go.

I've had a look at the code and it seems like we're pulling in the phpunit 9 series XML, and trying to run it against the phpunit 10 series code, which has different event system handling.

I do not know how to test this fully, without getting the docker images built etc ?

@sprankhub sprankhub merged commit 447197e into extdn:master May 12, 2025
@sprankhub
Copy link
Collaborator

Let's just test this 😁 Thank you!

@convenient
Copy link
Contributor Author

Screenshot 2025-05-12 at 09 53 57

its alive

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants